package com.itany.springboot04.springboot04.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/option")
public class OptionController {

    @RequestMapping("/add")
    public String add(){
        System.out.println("add");
        return "add";
    }

    @RequestMapping("/remove")
    public String remove(){
        System.out.println("remove");
        return "remove";
    }

    @RequestMapping("/modify")
    public String modify(){
        System.out.println("modify");
        return "modify";
    }

    @RequestMapping("/find")
    public String find(){
        System.out.println("find");
        return "find";
    }
}
